package com.xmx.service;

import com.xmx.entity.Roles;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface IRolesService {

    List<Roles> queryRolesByuserid(Integer id);

    List<Roles> queryAllRoles();

    void addNewRoles(Roles roles);

    Roles queryRoleByname(String name);

    void deleterole(Integer rid);
}
